package com.yayo.mangement.authentication.enums;

import lombok.Getter;

public enum UserErrorEnums {

    NOT_LOGIN("90001","用户未登录"),
    USERNAME_OR_PASSWORD_ERROR("900002","用户名密码错误"),
    LOING_OUT_TIME("900003","登陆超时"),
    NO_PERMISSION("900004","用户没有权限");

    @Getter
    private String code;
    @Getter
    private String desc;

    UserErrorEnums(String code, String desc){
        this.code = code;
        this.desc = desc;
    }


}
